function [res, timeElapsed, res_rmsc,biaozhuncha,fangcha] = RMSC_single_dataset(Ks, Y, nRepeat)
[nSmp, ~, nKernel] = size(Ks);
nCluster = length(unique(Y));
if ~exist('nRepeat', 'var')
    nRepeat = 1;
end

tic;
resAIO = [];
for i1 = 1:nRepeat
   res_rmsc= RMSC_config_auto(Y,Ks, nCluster);
    
end
res = mean(res_rmsc, 1);
biaozhuncha=std(res_rmsc,0,1);
fangcha=var(res_rmsc,0,1);
timeElapsed = toc;